def careful_divide(a, b):
    try:
        return a / b
    except ZeroDivisionError:
        return None


def run_divide(x, y):
    result = careful_divide(x, y)
    if not result:
        print("Invalid inputs")
    else:
        print(f"{x} / {y} = {result}")


run_divide(1, 5)
run_divide(0, 5)
